package org.hhttp.core;

import org.hhttp.core.Request;
import org.hhttp.core.Response;

public abstract class Controller implements PoolObject{
	
	public abstract String execute(Request request,Response response);
	
	public void reset() {
	}
	
	public void executeTo(Request request,Response response) {
		String path = this.execute(request, response);
		response.setPath(path);
	}

}
